package autowire;

public class Bar {

	private Foo foo;

	public void setFoo(Foo foo) {
		System.out.println("setFoo();");
		this.foo = foo;
	}

	public Bar() {
		System.out.println("Bar();");
	}

	
	@Override
	public String toString() {
		return "Bar [foo=" + foo + "]";
	}

	
}
